package com.lrkj.payfee.domain;

import java.math.BigDecimal;
import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 收费标准对象 tb_charge_norm
 *
 * @author yajun_ren
 * @date 2021-07-26
 */
public class ChargeNorm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标准id */
    private String normId;

    /** 代码 */
    @Excel(name = "代码")
    private String normCode;

    /** 名称 */
    @Excel(name = "名称")
    private String normNames;

    /** 币别 */
    @Excel(name = "币别")
    private String currency;

    /** 组织机构 */
    @Excel(name = "组织机构")
    private String deptId;

    /** 收费项目 */
    @Excel(name = "收费项目")
    private String chargeId;

    /** 收费时间 */
    @Excel(name = "收费时间")
    private String chartimId;

    /** 抵扣单价 */
    @Excel(name = "抵扣单价")
    private BigDecimal deductionPrice;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal prices;

    /** 计算公式 */
    @Excel(name = "计算公式")
    private String computingFormula;

    /** 公式 */
    @Excel(name = "公式")
    private String formula;

    //收费时间
    private String chartimeNames;

    //收费项目
    private String chargeName;

    //所属物业
    private String deptName;

    /** 祖级ID */
    private String ancestors;

    //收费项目类型
    private String projectId;

    private ChargeTime chargeTime;

    //费用生成方式
    private String chargeGenerateType;

    public void setAncestors(String ancestors)
    {
        this.ancestors = ancestors;
    }

    public String getAncestors()
    {
        return ancestors;
    }

    public String getChartimeNames() {
        return chartimeNames;
    }

    public void setChartimeNames(String chartimeNames) {
        this.chartimeNames = chartimeNames;
    }

    public String getChargeName() {
        return chargeName;
    }

    public void setChargeName(String chargeName) {
        this.chargeName = chargeName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setNormId(String normId)
    {
        this.normId = normId;
    }

    public String getNormId()
    {
        return normId;
    }
    public void setNormCode(String normCode)
    {
        this.normCode = normCode;
    }

    public String getNormCode()
    {
        return normCode;
    }
    public void setNormNames(String normNames)
    {
        this.normNames = normNames;
    }

    public String getNormNames()
    {
        return normNames;
    }
    public void setCurrency(String currency)
    {
        this.currency = currency;
    }

    public String getCurrency()
    {
        return currency;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptId()
    {
        return deptId;
    }
    public void setChargeId(String chargeId)
    {
        this.chargeId = chargeId;
    }

    public String getChargeId()
    {
        return chargeId;
    }
    public void setChartimId(String chartimId)
    {
        this.chartimId = chartimId;
    }

    public String getChartimId()
    {
        return chartimId;
    }
    public void setDeductionPrice(BigDecimal deductionPrice)
    {
        this.deductionPrice = deductionPrice;
    }

    public BigDecimal getDeductionPrice()
    {
        return deductionPrice;
    }
    public void setPrices(BigDecimal prices)
    {
        this.prices = prices;
    }

    public BigDecimal getPrices()
    {
        return prices;
    }
    public void setComputingFormula(String computingFormula)
    {
        this.computingFormula = computingFormula;
    }

    public String getComputingFormula()
    {
        return computingFormula;
    }
    public void setFormula(String formula)
    {
        this.formula = formula;
    }

    public String getFormula()
    {
        return formula;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public ChargeTime getChargeTime() {
        return chargeTime;
    }

    public void setChargeTime(ChargeTime chargeTime) {
        this.chargeTime = chargeTime;
    }

    public String getChargeGenerateType() {
        return chargeGenerateType;
    }

    public void setChargeGenerateType(String chargeGenerateType) {
        this.chargeGenerateType = chargeGenerateType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("normId", getNormId())
            .append("normCode", getNormCode())
            .append("normNames", getNormNames())
            .append("currency", getCurrency())
            .append("deptId", getDeptId())
            .append("chargeId", getChargeId())
            .append("chartimId", getChartimId())
            .append("deductionPrice", getDeductionPrice())
            .append("prices", getPrices())
            .append("computingFormula", getComputingFormula())
            .append("formula", getFormula())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("chargeGenerateType",getChargeGenerateType())
            .toString();
    }
}
